/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.service;


import com.comac.ins.common.BaseResult;
import com.comac.ins.config.FeignConfiguration;
import com.comac.ins.vo.res.TestLoginVO;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@FeignClient(
    url = "http://172.16.41.118",
    name = "test-service",
    contextId = "test-app",
    configuration = FeignConfiguration.class
)
public interface TestFeignService {
    /**
     * 测试118登录
     * http://172.16.41.118/prod-api/auth/login
     */
    @RequestMapping(value = "prod-api/auth/login", method = RequestMethod.POST)
    @ApiOperation(value = "测试118登录")
    BaseResult testLogin(@RequestBody TestLoginVO testLoginVO);

}
